//
//  ModelInsurance.h
//  MemberProject
//
//  Created by vincent luo on 15/7/14.
//  Copyright (c) 2015年 MAC OS X. All rights reserved.
//

#import "ModelClass.h"

@interface ModelInsurance : ModelClass
@property (nonatomic,copy) NSString *insuranceId;

@property (nonatomic,copy) NSString *insuranceNo;

@property (nonatomic,copy) NSString *volunteerId;

@property (nonatomic,copy) NSString *periodStart;

@property (nonatomic,copy) NSString *periodEnd;

@property (nonatomic,copy) NSString *serviceProvider;

@property (nonatomic,copy) NSString *insuranceProcessDate;

@property (nonatomic,copy) NSString *payId;

@property (nonatomic,copy) NSString *premium;

@property (nonatomic,copy) NSString *transactionBatch;

@property (nonatomic,strong) NSDate *beginDate;

@property (nonatomic,strong) NSDate *endDate;

@property (nonatomic,copy) NSString *serviceProviderUrl;
+(ModelInsurance *)getInsuranceForDic:(NSDictionary *)dic;


+(BOOL)checkOverTime:(NSString *)beginDate andEndDate:(NSString *)endDate;
@end
